projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b2db0a
)
(comint-replace-by-expanded-history-before-point): Advance point
author
Karl Heuer
<kwzh@gnu.org>
Thu, 14 Apr 1994 20:16:54 +0000
(20:16 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Thu, 14 Apr 1994 20:16:54 +0000
(20:16 +0000)
unconditionally.
lisp/comint.el
patch
|
blob
|
history
diff --git
a/lisp/comint.el
b/lisp/comint.el
index dedc99a5144badafe9d9cb904ff17cd1701ab774..2e05548ae40f375a0780016632f03df76e86e911 100644
(file)
--- a/
lisp/comint.el
+++ b/
lisp/comint.el
@@
-924,10
+924,11
@@
See `comint-replace-by-expanded-history'. Returns t if successful."
(comint-previous-matching-input-string-position
(concat pref (regexp-quote exp)) 1))))
(if (null pos)
- (or silent
- (progn (message "Not found")
- (goto-char (match-end 0))
- (ding)))
+ (progn
+ (goto-char (match-end 0))
+ (or silent
+ (progn (message "Not found")
+ (ding))))
(setq comint-input-ring-index pos)
(replace-match
(comint-args (ring-ref comint-input-ring pos)